<?php $this->load->view('assists/mate.php') ?>
<link rel="stylesheet" href="<?=base_url('static/index/css/project_create.css')?>">
<title>发布众创项目</title>
<!-- header strat -->
<?php $this->load->view('assists/header.php') ?>
<!-- header end -->
	<div id="top-alert" class="fixed alert-success" style="display:none;">
    	<button class="close fixed" >×</button>
    	<p class="alert-content">这是内容</p>
    </div>
    <div id="project_create">
    	<div class="project_create">
        	<h2 class="project_create_tit">
            	<p>创建你的项目信息</p>
            </h2>
            <form action="<?=site_url('Main/do_add_project')?>" method="post" enctype="multipart/form-data" class="create_pro_form" id="create_pro_form">
            	<div class="project_logo">
                	<h2>设计封面</h2>
                    <div class="project_logo_input clearfix">
                    	<input type="file" name="project_logo" id="project_logo" value="" placeholder="请上传图片" />
                        <button type="button" class="project_logo_btn">选择要上传的文件</button>
                        <p>
                        	<span> * </span>建议尺寸大小640*480，图片大小不要超过2M
                        </p>
                    </div>
                </div>
                <div class="project_category">
                	<h2>推荐标签</h2>
                    <div class="project_category_select">
                        <select name="cid" id="category">
                        	<option value="">请选择</option>
                        	<?php foreach ($category_list as $row): ?>
                            	<option value="<?=$row['cid']?>"><?=$row['cname']?></option>
                            <?php endforeach; ?>
                        </select>
                    </div>
                </div>
                <div class="content">
                	<h2>项目标题</h2>
                    <div class="content_input clearfix">
                    	<input type="text" name="title" id="title" value="" placeholder="请你输入项目标题" />
                        <p><span> * </span>给自己的项目取个响亮的名字吧！注意不要超过40个汉字哦~</p>
                    </div>
                </div>
                <div class="content">
                	<h2>项目筹备人数</h2>
                    <div class="content_input clearfix">
                    	<input type="text" name="personNum" id="personNum" value="" placeholder="请你输入项目筹备人数" />
                        <p><span> * </span>快点叫上你的小伙伴吧，注意输入阿拉伯数字哦~</p>
                    </div>
                </div>
                <div class="content">
                	<h2>项目筹备天数</h2>
                	<div class="content_input clearfix">
                    	<input type="text" name="addtime" id="addtime" value="" placeholder="请你输入项目筹备天数" />
                        <p><span> * </span>输入你项目需要的天数，注意输入阿拉伯数字哦~</p>
                    </div>
                </div>
                <div class="project_create_btn">
                	<input type="button" value="提交" id ="project_create_btn" />
                </div>
            </form>
        </div>
    </div>
    
    <!-- footer start -->
   	<?php $this->load->view('assists/footer.php') ?>
   	<!-- footer end -->
    <script type="text/javascript" src="<?=base_url('static/index/js/project_create.js')?>"></script>
</body>
</html>